<?php
$res = array(
    [
        'id'     => '26',
        'name'   => '男装',
        'des'    => '男装2017',
        'sort'   => '66',
        'hot'    => '1',
        'up'     => '1',
        'pic'    => '2017-10-09/59db39f97505b.jpg',
        'status' => '1',
    ],
    [
        'id'     => '26',
        'name'   => '男装',
        'des'    => '男装2017',
        'sort'   => '66',
        'hot'    => '1',
        'up'     => '1',
        'pic'    => '2017-10-09/59db39f97505b.jpg',
        'status' => '1',
    ],
    [
        'id'     => '26',
        'name'   => '男装',
        'des'    => '男装2017',
        'sort'   => '66',//$v = $arr[$v]
        'hot'    => '1',
        'up'     => '1',
        'pic'    => '2017-10-09/59db39f97505b.jpg',
        'status' => '1',
    ],
);
$arr = [66 => '男装'，67 => '彩妆'];

foreach ($res as &$v) {
	$v['sort'] = $arr[$v['sort']]
}
